package rapier.sso.core.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户Model
 * 
 * @author chenkw
 *
 */
public class UserRbcaModel implements IUserModel{
	
	private List<RoleModel> roles = new ArrayList<RoleModel>();
	
	private final UserModel baseInfo;
	
	public UserRbcaModel (UserModel baseInfo) {
		this.baseInfo = baseInfo;
	}

	@Override
	public UserModel getBaseInfo() {
		return baseInfo;
	}

	public List<RoleModel> getRoles() {
		return roles;
	}

}
